@layout("/common/_form.html",{js:["/assets/inStockInfo/inStockInfo_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="inStockInfoForm" lay-filter="inStockInfoForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">入库单号：自动生成<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="inStockNum" name="inStockNum" placeholder="请输入入库单号：自动生成" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">开单日期<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input" id="openDate">
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">供应商id<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="supplierId" name="supplierId" placeholder="请输入供应商id" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">供应商名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="supplierName" name="supplierName" placeholder="请输入供应商名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">总数量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="totalCount" name="totalCount" placeholder="请输入总数量" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">实际到货总数量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="actualArrivalTotalCount" name="actualArrivalTotalCount" placeholder="请输入实际到货总数量" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">总金额<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="totalAmt" name="totalAmt" placeholder="请输入总金额" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">项数(种类)<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="typeCount" name="typeCount" placeholder="请输入项数(种类)" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">折让金额<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="beforeDiscountAmt" name="beforeDiscountAmt" placeholder="请输入折让金额" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">折后金额=总金额-折让金额<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="afterDiscountAmt" name="afterDiscountAmt" placeholder="请输入折后金额=总金额-折让金额" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">入库方式（1:一般入库-采购入库 2:调拨入库<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="inDepotType" lay-filter="inDepotType">
                                <option value="">下拉单选框</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">备注<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">经手人id<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="handleUser" name="handleUser" placeholder="请输入经手人id" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">审核人id<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="auditUser" name="auditUser" placeholder="请输入审核人id" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">审核时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="auditTime" name="auditTime" placeholder="请输入审核时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">打印时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="printTime" name="printTime" placeholder="请输入打印时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">默认为0,1为删除<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="isDelete" name="isDelete" placeholder="请输入默认为0,1为删除" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">用户类型 (supplier xiaole shop)<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="userType" name="userType" placeholder="请输入用户类型 (supplier xiaole shop)" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">分店id<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="orgId" name="orgId" placeholder="请输入分店id" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">单据状态<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="status" name="status" placeholder="请输入单据状态" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}